package day06;

public class People2Test {
    public static void main(String[] args) {

        Man boy=new Man();
        Woman girl=new Woman();
        boy.setWeight(100000);
        boy.setSalarary(7000);
        boy.setGirlFriend(girl);
        girl.setBoyFriend(boy);
        boy.eat(5);
        System.out.println(boy.getWeight());
        boy.lol();
        boy.lol();
        System.out.println(boy.getSalarary());
    }
}
